import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import elementplus from "element-plus";
import "element-plus/dist/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";

import "@/styles/index.scss"; // 将 scss 相关的 统一引入
import "@/assets/iconfont.css";
const app = createApp(App);
app.use(store);
app.use(router);
app.use(elementplus);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.mount("#app");
